#include <iostream>
#include "Tree.h"
using namespace std;

int main(int argc, char** argv) 
{
	Tree<int> intTree;
	int intValue;
	cout << "Enter 10 integer value\n";
	for(int i=0; i<10; i++)
	{
		cin >> intValue;
		intTree.insertNode(intValue);
	}
	cout << "\nPreOrder" << "\n";
	intTree.preOrderTravel();
	
	cout << "\ninOrder" << "\n";
	intTree.inOrderTravel();
	
	cout << "\npostOrder" << "\n";
	intTree.postOrderTravel();
	
	return 0;
}
